import { defineConfig } from "vite"
import vue from "@vitejs/plugin-vue"
// 配置@别名
import { resolve } from "path"
// https://vitejs.dev/config/
export default defineConfig({
  base: "./",
  plugins: [vue()],
  resolve: {
    // ↓路径别名
    alias: {
      "@": resolve(__dirname, "./src"),
    },
  },
})
